﻿<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
    <title>Purple Admin</title>
    <!-- plugins:css -->
    <link rel="stylesheet" href="/vendors/iconfonts/mdi/css/materialdesignicons.min.css"/>
    <link rel="stylesheet" href="/vendors/css/vendor.bundle.base.css"/>
    <!-- endinject -->
    <!-- inject:css -->
    <link rel="stylesheet" href="/css/style.css"/>
    <!-- endinject -->
    <link rel="shortcut icon" href="/images/favicon.png"/>
</head>

<body style="width: 1000px">
<div class="col-12 grid-margin stretch-card" style="font-family: 黑体">
    <div class="card">
        <div class="card-body" style="padding-left: 30px">
            <div class="text-dark">
                <h4 class="card-title" style="margin-bottom: 30px">新增贷款材料</h4>
            </div>
            <div style="margin-left:80px" class="forms-sample">
                <form class="forms-sample" style="line-height: 60px">
                    <div>
                        <label for="exampleInputEmail3" >材料名称：</label>
                        <input type="text" class="form-control" id="exampleInputEmail3" required="required"
                               style="width: 280px;display: inline-block"></input><br/>
                        <span style="color:#d2c3c3">*请认真填写材料名称，此项将会显示在借款产品页面</span>
                    </div>
                    <div>
                        <label for="u2990_input">材料类型：</label>
                        <select id="u2990_input"  class="form-control" style="width: 280px;display: inline-block">
                            <option class="u2990_input_option" value="附件">附件</option>
                        </select>
                    </div>
                    <div>
                        <label for="exampleInputEmail4">附件上传要求：</label>
                        <input type="text" class="form-control" id="exampleInputEmail4" required="required"
                               style="width: 250px;display: inline-block"></input><br/>
                        <span style="color:#d2c3c3">*用户最少需要上传的附件张数，建议根据实际情况填写</span>
                    </div>
                    <div>
                        <label for="exampleInputEmail5">排序值：</label>
                        <input type="text" class="form-control" id="exampleInputEmail5" required="required"
                               style="width: 300px;display: inline-block" placeholder="0-100"></input><br/>
                        <span style="color:#d2c3c3">*用户提交材料时，显示的材料顺序，排序值越大越靠前</span>
                    </div>
                    <div>
                        <label for="exampleInputCity1">是否启用：</label>
                        <input type="radio" name="gender" value="1" checked="checked" id="exampleInputCity1"></input>
                        <span style="margin-right: 20px">是</span>
                        <input type="radio" name="gender" value="2"></input>
                        <span>否</span><br/>
                    </div>
                    <div>
                        <label for="exampleInputCity1" style="vertical-align: top">材料描述：</label>
                        <textarea id="u2979_input" class="u2979_input" rows="5" cols="60"></textarea>
                    </div>
                    <button type="button" class="btn btn-primary">提交</button>
                </form>
            </div>
        </div>
    </div>
</div>

<!-- 注意， 只需要引用 JS，无需引用任何 CSS ！！！-->
<script type="text/javascript" src="wangEditor.min.js"></script>
<script type="text/javascript">
    var E = window.wangEditor
    var editor = new E('#editor')
    // 或者 var editor = new E( document.getElementById('editor') )
    editor.create()

    function upperCase() {
        var phone = document.getElementById('exampleInputCity1').value;
        var re = /^0\d{2,3}-?\d{7,8}$/;
        if (re.test(phone)) {
            alert("正确");
        } else {
            alert("错误");
        }
    }

    function emailCase() {
        var email = document.getElementById('exampleInputCity2').value;
        var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/
        if (re.test(email)) {
            alert("正确");
        } else {
            alert("错误");
        }
    }
</script>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="../../vendors/js/vendor.bundle.base.js"></script>
<script src="../../vendors/js/vendor.bundle.addons.js"></script>
<!-- endinject -->
<!-- inject:js -->
<script src="../../js/off-canvas.js"></script>
<script src="../../js/misc.js"></script>
<!-- endinject -->
<!-- Custom js for this page-->
<script src="../../js/file-upload.js"></script>
<!-- End custom js for this page-->
</body>

</html>
